
package com.zhitan.ems.app.iot.wrapper;
import com.zhitan.ems.app.iot.entity.DeviceLogEntity;
import com.zhitan.ems.app.iot.vo.DeviceLogVO;
import com.zhitan.ems.common.extra.utils.BeanUtil;
import com.zhitan.ems.framework.core.mp.base.BaseEntityWrapper;
  /**
 * 设备数据 包装类,返回视图层所需的字段
 * @author zhitan
 * 
 * @date 2025-09-19 22:15:46
 */
public class DeviceLogWrapper extends BaseEntityWrapper<DeviceLogEntity, DeviceLogVO>  {
    public static DeviceLogWrapper build() {
        return new DeviceLogWrapper();
    }
	@Override
	public DeviceLogVO entityVO(DeviceLogEntity deviceLog) {
		if(deviceLog==null) {
			return null;
		}
		DeviceLogVO deviceLogVO = BeanUtil.copy(deviceLog, DeviceLogVO.class);
		return deviceLogVO;
	}

}
